﻿<%@ Page Language="C#" MasterPageFile="~/Admin/SiteAdmin.Master" AutoEventWireup="true" CodeBehind="ThemMoiThanhVien.aspx.cs" Inherits="DM.Web.Admin.QuanLyThanhVien.ThemMoiThanhVien" Title="Công ty cổ phần Đường Man - Duong Malt JSC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1 style="margin-left: 30px;margin-top:1px"><asp:Label ID="lbTieuDe" runat="server"></asp:Label></h1>    
        <table style="margin-top:50px; margin-left: 150px">
        <tr>
            <td style="width:150px"><b>Tên đăng nhập</b></td>
            <td style="width:200px">
                <asp:TextBox ID="txtTenDangNhap" Width="90%" runat="server"></asp:TextBox></td>
            <td style="width:150px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorTenDangNhap" ControlToValidate="txtTenDangNhap" runat="server" ErrorMessage="chưa có tên đăng nhập"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width:150px"><b>Mật khẩu</b></td>
            <td style="width:200px">
                <asp:TextBox ID="txtMatKhau1"  Width="90%" runat="server" TextMode="Password"></asp:TextBox></td>
            <td style="width:150px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorMatKhau1" runat="server" ControlToValidate="txtMatKhau1" ErrorMessage="chưa nhập mật khẩu"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width:150px"><b>Họ tên</b></td>
            <td style="width:200px">
                <asp:TextBox ID="txtHoTen" Width="90%" runat="server"></asp:TextBox></td>
            <td style="width:150px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorHoTen" ControlToValidate="txtHoTen" runat="server" ErrorMessage="chưa nhập họ tên"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width:150px"><b>Điện thoại</b></td>
            <td style="width:200px">
                <asp:TextBox ID="txtDienThoai" Width="90%" runat="server"></asp:TextBox></td>
            <td style="width:150px">
                </td>
        </tr>
        <tr>
            <td style="width:150px"><b>Di động</b></td>
            <td style="width:200px">
                <asp:TextBox ID="txtDiDong" Width="90%" runat="server"></asp:TextBox></td>
            <td style="width:150px"><asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Di động không đúng"
                    ValidationExpression="^0\d+$" ControlToValidate="txtDiDong"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width:150px"><b>Email</b></td>
            <td style="width:200px">
                <asp:TextBox ID="txtEmail" Width="90%" runat="server"></asp:TextBox></td>
            <td style="width:150px">
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorEmail" ControlToValidate="txtEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" runat="server" ErrorMessage="RegularExpressionValidator"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width:150px"><b>Địa chỉ</b></td>
            <td style="width:200px">
                <asp:TextBox ID="txtDiaChi" Width="90%" runat="server"></asp:TextBox></td>
            <td style="width:150px"></td>
        </tr>
        <tr>
            <td align="center" colspan="2" style="padding-top:20px">
                <asp:Button ID="btnSave" Width="80px" CausesValidation="true" runat="server" Text="Lưu" OnClick="btnSave_Click" />
                <asp:Button ID="btnCancel" Width="80px" CausesValidation="false" runat="server" Text="Thoát" OnClick="btnCancel_Click" />
            </td>
        </tr>
        </table>    
</asp:Content>
